package com.example.layered_arch.mapper;

import com.example.layered_arch.entity.User;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper {

    User findByUsername(String username);

    void save(User user);

    void update(User user);

    void delete(Long id);

    User findById(Long id);
}